package com.jinxin.platform.cdzxkacs.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <b>[cdzxkacs_open_record]数据持久化对象</b>
 * <p>
 * 注意:此文件自动生成-禁止手工修改。
 * </p>
 * 
 * @author @blue
 * @date 2021-01-27
 */
public class CdzxkacsOpenRecord implements Serializable {

	private static final long serialVersionUID = -3780874665961109370L;
	/**
	 * ID
	 */
	private String id;
	
	/**
	 * 小区id
	 */
	private String communityId;
	
	/**
	 * 小区名称
	 */
	private String communityName;
	
	/**
	 * 设备序列号
	 */
	private String serialNum;
	
	/**
	 * 设备名称
	 */
	private String deviceName;
	
	/**
	 * 开门用户ID
	 */
	private String openUserId;
	
	/**
	 * 开门用户
	 */
	private String openUser;
	
	/**
	 * 电话号码
	 */
	private String phone;
	
	/**
	 * 体感温度
	 */
	private Double bodyTemperature;
	
	/**
	 * 开门时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@JsonSerialize(using = LocalDateTimeSerializer.class)
	private LocalDateTime openTime;
	
	/**
	 * 开门方式
	 */
	private String openType;

	/**
	 * 人员类型 0租客1业主 11其他
	 */
	private Integer personType;
	
	/**
	 * 抓拍图片
	 */
	private String capturePic;
	

	/**
	 * ID
	 * 
	 * @return id
	 */
	public String getId() {
		return id;
	}
	
	/**
	 * 小区id
	 * 
	 * @return communityId
	 */
	public String getCommunityId() {
		return communityId;
	}
	
	/**
	 * 小区名称
	 * 
	 * @return communityName
	 */
	public String getCommunityName() {
		return communityName;
	}
	
	/**
	 * 设备序列号
	 * 
	 * @return serialNum
	 */
	public String getSerialNum() {
		return serialNum;
	}
	
	/**
	 * 设备名称
	 * 
	 * @return deviceName
	 */
	public String getDeviceName() {
		return deviceName;
	}
	
	/**
	 * 开门用户ID
	 * 
	 * @return openUserId
	 */
	public String getOpenUserId() {
		return openUserId;
	}
	
	/**
	 * 开门用户
	 * 
	 * @return openUser
	 */
	public String getOpenUser() {
		return openUser;
	}
	
	/**
	 * 电话号码
	 * 
	 * @return phone
	 */
	public String getPhone() {
		return phone;
	}
	
	/**
	 * 体感温度
	 * 
	 * @return bodyTemperature
	 */
	public Double getBodyTemperature() {
		return bodyTemperature;
	}
	
	/**
	 * 开门时间
	 * 
	 * @return openTime
	 */
	public LocalDateTime getOpenTime() {
		return openTime;
	}
	
	/**
	 * 开门方式
	 * 
	 * @return openType
	 */
	public String getOpenType() {
		return openType;
	}
	
	/**
	 * 抓拍图片
	 * 
	 * @return capturePic
	 */
	public String getCapturePic() {
		return capturePic;
	}
	

	/**
	 * ID
	 * 
	 * @param id
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * 小区id
	 * 
	 * @param communityId
	 */
	public void setCommunityId(String communityId) {
		this.communityId = communityId;
	}
	
	/**
	 * 小区名称
	 * 
	 * @param communityName
	 */
	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}
	
	/**
	 * 设备序列号
	 * 
	 * @param serialNum
	 */
	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}
	
	/**
	 * 设备名称
	 * 
	 * @param deviceName
	 */
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	
	/**
	 * 开门用户ID
	 * 
	 * @param openUserId
	 */
	public void setOpenUserId(String openUserId) {
		this.openUserId = openUserId;
	}
	
	/**
	 * 开门用户
	 * 
	 * @param openUser
	 */
	public void setOpenUser(String openUser) {
		this.openUser = openUser;
	}
	
	/**
	 * 电话号码
	 * 
	 * @param phone
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	/**
	 * 体感温度
	 * 
	 * @param bodyTemperature
	 */
	public void setBodyTemperature(Double bodyTemperature) {
		this.bodyTemperature = bodyTemperature;
	}
	
	/**
	 * 开门时间
	 * 
	 * @param openTime
	 */
	public void setOpenTime(LocalDateTime openTime) {
		this.openTime = openTime;
	}
	
	/**
	 * 开门方式
	 * 
	 * @param openType
	 */
	public void setOpenType(String openType) {
		this.openType = openType;
	}
	
	/**
	 * 抓拍图片
	 * 
	 * @param capturePic
	 */
	public void setCapturePic(String capturePic) {
		this.capturePic = capturePic;
	}

	public Integer getPersonType() {
		return personType;
	}

	public void setPersonType(Integer personType) {
		this.personType = personType;
	}
}